package hc.bre.rest.admin

import hc.bre.cmn.*

@groovy.transform.CompileStatic
class ProjectEntry implements ILoad{
//	int rid
	String rname
//	String rtype
	String rpath
//	int rversion

	ProjectEntry load(Map map) {
//		this.rid = map['rid'] as Integer;
//		this.rtype = map['rtype'];
		this.rname = map['rname'];
		this.rpath = map['rpath'];
//		this.rversion = map['rversion'] as Integer;

		return this;
	}

	ProjectEntry copy(RuleDefinition rhs) {
//		this.rid = rhs.rid;
//		this.rtype = rhs.getRtype()
		this.rname = rhs.rname
		this.rpath = rhs.rpath
//		this.rversion = rhs.rversion

		return this;
	}
}
